<template>
  <div>
    <div class="video">
      <p>{{title}}</p>
      <div>
        <img
          :src="img"
          alt=""
        >
        <div class="iconfont iconshipin"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ['title', 'img']
}
</script>

<style lang="less" scoped>
.video {
  padding: 20/360 * 100vw;
  border-bottom: 1px solid #aaaaaa;

  p {
    font-size: 18/360 * 100vw;
    margin-bottom: 20/360 * 100vw;
  }
  div {
    position: relative;

    img {
      width: 100%;
      object-fit: cover;
    }

    .iconshipin {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -20/360 * 100vw;
      margin-top: -20/360 * 100vw;
      font-size: 50/360 * 100vw;
      background-color: rgba(0, 0, 0, 0.3);
      border-radius: 50%;
      color: #ffffff;
    }
  }
}
</style>
